package com.pool.socket.DataType;

import java.util.UUID;

import com.pool.socket.DataReceiver;

public class SocketDepict {
	
	byte heartbeat = 0 ;
	DataReceiver receiver; // the receiver for process this socket
	public int number = 0; 
	private UUID gatewayUUID;
	
	public UUID getGatewayUUID() {
		return gatewayUUID;
	}

	public void setGatewayUUID(UUID gatewayUUID) {
		this.gatewayUUID = gatewayUUID;
	}

	public SocketDepict(DataReceiver receiver) {
		this.receiver = receiver;	
	}
	
	public byte getHeartbeat() {
		return heartbeat;
	}
	public void setHeartbeat(byte time) {
		this.heartbeat = time;
	}
	public DataReceiver getReceiver() {
		return receiver;
	}
	public void setReceiver(DataReceiver receiver) {
		this.receiver = receiver;
	}
	

}
